Component({
    properties: {
        member_order: {
            type: null
        },
        Order: {
            type: null
        },
        Params: {
            type: null
        }
    },
    data: {
        groups_order: {}
    },
    lifetimes: {
        attached: function() {
            var t = this;
            this.data.member_order && this.data.member_order.fight_groups_order && this.data.member_order.fight_groups_order.forEach(function(e) {
                0 == e.status ? t.setData({
                    "groups_order.waitPay": e.total
                }) : 1 == e.status ? t.setData({
                    "groups_order.waitSure": e.total
                }) : 2 == e.status ? t.setData({
                    "groups_order.waitEnter": e.total
                }) : 11 == e.status && t.setData({
                    "groups_order.waitCheckOut": e.total
                });
            });
        },
        moved: function() {},
        detached: function() {}
    },
    attached: function() {},
    ready: function() {},
    pageLifetimes: {
        show: function() {},
        hide: function() {},
        resize: function() {}
    },
    methods: {
        gohotelOrderlist: function(t) {
            var e = t.currentTarget.dataset.status, r = t.currentTarget.dataset.ordertype;
            5 != e ? wx.navigateTo({
                url: "/packageA/member/myOrder_v2/myOrder_v2?status=" + e + "&orderType=" + r
            }) : wx.navigateTo({
                url: "/packageD/member/myOrder/Aftersaleslist/Aftersaleslist?orderType=" + r
            });
        }
    }
});